home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / batch / WaitSignal.lha / WaitSignal / examples / Demo1 < prev    next >
Encoding:
Text File  |  1998-09-20  |  524 b   |  21 lines

  1. .bra {
  2. .ket }
  3.  
  4. ; $VER Demo1 1.0 (20.9.98)
  5.  
  6. echo "(Parent) - This shell script will launch a background process."
  7. echo "(Parent) - Make sure WaitSignal is in your PATH."
  8. echo "(Parent) - Current (parent) Process Number is $process."
  9. echo "(Parent) - Launching child process..."
  10.  
  11. ; this is tricky! we give the parent's process number as an argument to
  12. ; enable the child to break the parent with the correct process number
  13. run Demo1Child $process
  14.  
  15. echo "(Parent) - waiting for child's CTRL-F"
  16.  
  17. WaitSignal F
  18.  
  19. echo "All done."
  20.  
  21.